mw.loader.implement("ext.articleFeedbackv5.startup",function(){jQuery(function($){var enable=$.aftUtils.verify('article');if(enable){var removeAft=function(){var $aft=$('#mw-articlefeedback');if($aft.length>0){$aft.remove();}else{clearInterval(removeAftInterval);}};var removeAftInterval=setInterval(removeAft,100);mw.loader.load('ext.articleFeedbackv5');if(navigator.appVersion.indexOf('MSIE 7')!=-1){mw.loader.load('ext.articleFeedbackv5.ie');}}});;},{},{});mw.loader.implement("ext.eventLogging",function(){(function(mw,$,console){'use strict';function ValidationError(message){this.message=message;}ValidationError.prototype=new Error();var self=mw.eventLog={schemas:{},warn:console&&$.isFunction(console.warn)?$.proxy(console.warn,console):mw.log,declareSchema:function(schemaName,meta){if(self.schemas.hasOwnProperty(schemaName)){self.warn('Clobbering existing "'+schemaName+'" schema');}self.schemas[schemaName]=$.extend(true,{revision:-1,schema:{properties:{}},defaults:{}},self.schemas[
schemaName],meta);return self.schemas[schemaName];},isInstanceOf:function(value,type){if(value===undefined||value===null){return false;}switch(type){case'string':return typeof value==='string';case'timestamp':return value instanceof Date||(typeof value==='number'&&value>=0&&value%1===0);case'boolean':return typeof value==='boolean';case'integer':return typeof value==='number'&&value%1===0;case'number':return typeof value==='number'&&isFinite(value);default:return false;}},isValid:function(event,schemaName){try{self.assertValid(event,schemaName);return true;}catch(e){if(!(e instanceof ValidationError)){throw e;}self.warn(e.message);return false;}},assertValid:function(event,schemaName){var schema=self.schemas[schemaName]||null,props=schema.schema.properties,prop;if($.isEmpty(props)){throw new ValidationError('Unknown schema: '+schemaName);}for(prop in event){if(props[prop]===undefined){throw new ValidationError('Unrecognized property: '+prop);}}$.each(props,function(prop,desc){var val=
event[prop];if(val===undefined){if(desc.required){throw new ValidationError('Missing property: '+prop);}return true;}if(!(self.isInstanceOf(val,desc.type))){throw new ValidationError('Wrong type for property: '+prop+' '+val);}if(desc['enum']&&$.inArray(val,desc['enum'])===-1){throw new ValidationError('Value "'+val+'" not in enum '+$.toJSON(desc['enum']));}});return true;},setDefaults:function(schemaName,schemaDefaults){var schema=self.schemas[schemaName];if(schema===undefined){self.warn('Setting defaults on unknown schema "'+schemaName+'"');schema=self.declareSchema(schemaName);}return $.extend(true,schema.defaults,schemaDefaults);},encapsulate:function(schemaName,event){var schema=self.schemas[schemaName];if(schema===undefined){self.warn('Got event with unknown schema "'+schemaName+'"');schema=self.declareSchema(schemaName);}event=$.extend(true,{},event,schema.defaults);return{event:event,clientValidated:self.isValid(event,schemaName),revision:schema.revision,schema:schemaName,
webHost:window.location.hostname,wiki:mw.config.get('wgDBname')};},dispatch:function(data){var beacon=document.createElement('img'),baseUri=mw.config.get('wgEventLoggingBaseUri'),dfd=$.Deferred();if(!baseUri){dfd.rejectWith(data,[data]);return dfd.promise();}$(beacon).on('error',function(){dfd.resolveWith(data,[data]);});beacon.src=baseUri+'?'+encodeURIComponent($.toJSON(data))+';';return dfd.promise();},logEvent:function(schemaName,eventInstance){return self.dispatch(self.encapsulate(schemaName,eventInstance));}};self.setSchema=self.declareSchema;if(!mw.config.get('wgEventLoggingBaseUri')){self.warn('"$wgEventLoggingBaseUri" is not set.');}}(mediaWiki,jQuery,window.console));;},{},{});mw.loader.implement("ext.navigationTiming",function(){(function(mw,$){'use strict';var timing=window.performance?performance.timing:null;function inSample(){var factor=mw.config.get('wgNavigationTimingSamplingFactor');if(!$.isNumeric(factor)||factor<1){return false;}return Math.floor(Math.random()*factor
)===0;}function emitTiming(){var navStart=timing.navigationStart||timing.fetchStart,event={userAgent:navigator.userAgent,isHttps:location.protocol==='https:',isAnon:mw.config.get('wgUserId')===null},page={pageId:mw.config.get('wgArticleId'),revId:mw.config.get('wgCurRevisionId'),action:mw.config.get('wgAction')};if($.isPlainObject(window.Geo)&&typeof Geo.country==='string'){event.originCountry=Geo.country;}$.each({dnsLookup:timing.domainLookupEnd-timing.domainLookupStart,connecting:timing.connectEnd-timing.connectStart,sending:timing.fetchStart-navStart,waiting:timing.responseStart-timing.requestStart,receiving:timing.responseEnd-timing.responseStart,rendering:timing.loadEventEnd-timing.responseEnd,loading:timing.loadEventStart-navStart},function(k,v){if($.isNumeric(v)&&v>0){event[k]=v;}});if(timing.redirectStart){event.redirectCount=performance.navigation.redirectCount;event.redirecting=timing.redirectEnd-timing.redirectStart;}if(page.revId){$.extend(event,page);}if(mw.mobileFrontend
&&mw.config.exists('wgMFMode')){event.mobileMode=mw.config.get('wgMFMode');}mw.eventLog.logEvent('NavigationTiming',event);}if(timing&&inSample()&&!/Firefox\/[78]/.test(navigator.userAgent)){$(window).load(function(){setTimeout(emitTiming,0);});}}(mediaWiki,jQuery));;},{},{});mw.loader.implement("ext.gadget.BoutonPlus",function(){$(function(){if(['edit','submit'].indexOf(mw.config.get('wgAction'))==-1)return;$.each([['{|\n|-\n|\n|\n|}','','','0/04/Button_array','Tableau','array'],['<del>','','</del>','c/c9/Button_strike','Rayer','strike'],['\n# élément 1\n# élément 2\n# élément 3','','','8/88/Btn_toolbar_enum','Énumération','enum'],['\n* élément A\n* élément B\n* élément C','','','1/11/Btn_toolbar_liste','Liste','liste'],['\n<gallery>\nExemple.jpg|[[Tournesol]]\nExemple1.jpg|[[La Joconde]]\nExemple2.jpg|Un [[hamster]]\n</gallery>\n{{message galerie}}','','','9/9e/Btn_toolbar_gallery','Galerie d\'images','gallery'],['<!--','','-->','3/37/Btn_toolbar_commentaire',
'Commentaire','comment'],['#REDIRECT[[','nom de la destination',']]','4/47/Button_redir','Redirection','redir'],['[[Catégorie:','nom de la catégorie',']]','b/b4/Button_category03','Catégorie','category'],['{{','modèle ou page à inclure','}}','3/3b/Button_template_alt','Modèle','template'],['<ref>','référence, citation ou lien','</ref>','c/c4/Button_ref','Référence','ref'],['== Notes et références ==\n{{Références}}','','','6/64/Buttonrefvs8','Index des références','references'],['== Notes et références ==\n{{Références}}\n\n== Annexes ==\n=== Articles connexes ===\n* [[À remplacer]]\n\n=== Liens externes ===\n*\n\n=== Bibliographie ===\n* [[À remplacer]]\n\n','','','b/bb/Seealso','Section Annexes','voiraussi']],function(_,button){mw.toolbar.addButton('//upload.wikimedia.org/wikipedia/commons/'+button[3]+'.png',button[4],button[0],button[2],button[1],'mw-editbutton-'+button[5]);});});;},{},{});mw.loader.implement("ext.gadget.WikiMiniAtlas",function(){window.
wma_settings={buttonImage:'//upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Geographylogo.svg/18px-Geographylogo.svg.png'}
mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');;},{},{});mw.loader.implement("ext.gadget.newCollapsible",function(){var newCollapsible=function($){return $('.fr-collapsible').each(function(){var _fn='jquery.newCollapsible> ';var $that=$(this).addClass('fr-collapsible'),that=this,collapsetext=$(this).attr('data-collapsetext'),expandtext=$(this).attr('data-expandtext'),toggleElement=function($collapsible,action,$defaultToggle,instantHide){if(!$collapsible.jquery){return;}if(action!='expand'&&action!='collapse'){return;}if(typeof $defaultToggle=='undefined'){$defaultToggle=null;}if($defaultToggle!==null&&!($defaultToggle instanceof $)){return;}var $containers=null;if(action=='collapse'){if($collapsible.is('table')&&$collapsible.find('caption').length){$containers=$collapsible.find('>tbody>tr','>thead>tr');if($defaultToggle){$containers.stop(true,true).fadeOut();}else{if(instantHide){
$containers.hide();}else{$containers.stop(true,true).fadeOut();}}}else if(!$collapsible.is('ul')&&!$collapsible.is('ol')&&!$that.is('table')){var $collapsibleContent=$collapsible.find('> .fr-collapsible-content');if($collapsibleContent.length){if(instantHide){$collapsibleContent.hide();}else{$collapsibleContent.slideUp();}}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeOut();}else{$collapsible.slideUp();}}}}else{if($collapsible.is('table')&&$collapsible.find('caption').length){$containers=$collapsible.find('>tbody>tr','>thead>tr');if($defaultToggle){$containers.stop(true,true).fadeIn();}else{$containers.stop(true,true).fadeIn();}}else if(!$collapsible.is('ul')&&!$collapsible.is('ol')&&!$that.is('table')){var $collapsibleContent=$collapsible.find('> .fr-collapsible-content');if($collapsibleContent.length){$collapsibleContent.slideDown();}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeIn();}else
{$collapsible.slideDown();}}}}},toggleLinkDefault=function(that,e){var $that=$(that),$collapsible=$that.closest('.fr-collapsible.fr-made-collapsible').toggleClass('fr-collapsed');e.preventDefault();e.stopPropagation();if(!$that.hasClass('fr-collapsible-toggle-collapsed')){$that.removeClass('fr-collapsible-toggle-expanded').addClass('fr-collapsible-toggle-collapsed');if($that.find('> a').length){$that.find('> a').text(expandtext);}else{$that.text(expandtext);}toggleElement($collapsible,'collapse',$that);}else{$that.removeClass('fr-collapsible-toggle-collapsed').addClass('fr-collapsible-toggle-expanded');if($that.find('> a').length){$that.find('> a').text(collapsetext);}else{$that.text(collapsetext);}toggleElement($collapsible,'expand',$that);}return;},toggleLinkPremade=function($that,e){var $collapsible=$that.eq(0).closest('.fr-collapsible.fr-made-collapsible').toggleClass('fr-collapsed');if($(e.target).is('a')){return true;}e.preventDefault();e.stopPropagation();if(!$that.hasClass(
'fr-collapsible-toggle-collapsed')){$that.removeClass('fr-collapsible-toggle-expanded').addClass('fr-collapsible-toggle-collapsed');toggleElement($collapsible,'collapse',$that);}else{$that.removeClass('fr-collapsible-toggle-collapsed').addClass('fr-collapsible-toggle-expanded');toggleElement($collapsible,'expand',$that);}return;},toggleLinkCustom=function($that,e,$collapsible){if(e){e.preventDefault();e.stopPropagation();}var action=$collapsible.hasClass('fr-collapsed')?'expand':'collapse';$collapsible.toggleClass('fr-collapsed');toggleElement($collapsible,action,$that);};if(!collapsetext){collapsetext='masquer';}if(!expandtext){expandtext='afficher';}var $toggleLink=$('<a href="#"></a>').text(collapsetext).wrap('<span class="fr-collapsible-toggle"></span>').parent().bind('click.fr-collapse',function(e){toggleLinkDefault(this,e);});if($that.hasClass('fr-made-collapsible')){return;}else{$that.addClass('fr-made-collapsible');}if(($that.attr('id')||'').indexOf('fr-customcollapsible-')===0
){var thatId=$that.attr('id'),$customTogglers=$('.'+thatId.replace('fr-customcollapsible','fr-customtoggle'));mw.log(_fn+'Found custom collapsible: #'+thatId);if($customTogglers.length){$customTogglers.bind('click.fr-collapse',function(e){toggleLinkCustom($(this),e,$that);});}else{mw.log(_fn+'#'+thatId+': Missing toggler!');}if($that.hasClass('fr-collapsed')){$that.removeClass('fr-collapsed');toggleLinkCustom($customTogglers,null,$that);}}else{if($that.is('table')&&$that.find('caption').length){var $caption=$('caption',that),$toggle=$caption.find('> .fr-collapsible-toggle');if(!$toggle.length){$caption.eq(-1).prepend($toggleLink);}else{$toggleLink=$toggle.unbind('click.fr-collapse').bind('click.fr-collapse',function(e){toggleLinkPremade($toggle,e);});}}else if(!$that.is('ul')&&!$that.is('ol')&&!$that.is('table')){var $toggle=$that.find('> .fr-collapsible-toggle');if(!$that.find('> .fr-collapsible-content').length){$that.wrapInner('<div class="fr-collapsible-content"></div>');}if(!
$toggle.length){$that.prepend($toggleLink);}else{$toggleLink=$toggle.unbind('click.fr-collapse').bind('click.fr-collapse',function(e){toggleLinkPremade($toggle,e);});}}}if($that.hasClass('fr-collapsed')&&($that.attr('id')||'').indexOf('fr-customcollapsible-')!==0){$that.removeClass('fr-collapsed');toggleElement($that,'collapse',$toggleLink.eq(0),true);$toggleLink.eq(0).click();}});};var newAutoCollapse=function($){var $navboxnew=$('#content .navboxnew');if($navboxnew.length==1){$navboxnew.filter('.fr-collapsed').not('.uncollapsed, .collapsed').each(function(){$(this).find('span.fr-collapsible-toggle a').first().click();});}};var newBeKindToIE=function($){var ieVersion=$.client.profile().versionBase;if(ieVersion<9){$('#content .navboxnew_inline').find('li:last-child').addClass('navboxnew_last');}if(ieVersion<8){$('#content .navboxnew').removeClass('navboxnew').addClass('navboxnew_oldie');}};var newCollapsibleKeyboard=function($){$(
'.fr-collapsible-toggle, .fr-collapsible-toggle-keyboard').attr('tabindex',0).keypress(function(event){if(event.which==13){$(this).click()}});};var newCollapsibleGroup=function($){$('.fr-collapsible-group').each(function(){var $that=$(this);var text='Tout ouvrir';var $tooglelink=$('<a class="fr-collapsible-toggle fr-collapsible-toggle-collapsed fr-collapsible-group-toogle-all" href="#">Tout ouvrir</a>');$that.find('.fr-collapsible-group-toogle:first').append($tooglelink).click(function(event){if(text=='Tout ouvrir'){text='Tout fermer';$that.find('.fr-collapsible-toggle-collapsed:not(".fr-collapsible-group-toogle-all")').click();}else{text='Tout ouvrir';$that.find('.fr-collapsible-toggle-expanded:not(".fr-collapsible-group-toogle-all")').click();}$tooglelink.text(text);return false;});});};if($.client.profile().name=='msie'){$(document).ready(newBeKindToIE);}$(document).ready(newCollapsible);$(document).ready(newAutoCollapse);$(document).ready(newCollapsibleKeyboard);$(document).ready(
newCollapsibleGroup);;},{"css":[
".fr-collapsible-toggle{background:url(\"//upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png\") no-repeat scroll left center transparent;padding:0 0 0 15px;cursor:pointer;float:right}.fr-collapsible-toggle-collapsed{background:url(\"//upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png\") no-repeat scroll left center transparent}.fr-collapsible-toggle,.fr-collapsible-toggle-keyboard{outline:0 none}.fr-collapsible-toggle:focus,.fr-collapsible-toggle-keyboard:focus,.fr-collapsible-toggle:hover,.fr-collapsible-toggle-keyboard:hover{text-decoration:underline}.fr-collapsible span.up,.fr-collapsible span.down{color:#0645AD}.fr-collapsible-toggle-expanded span.up{display:none }.fr-collapsible-toggle-collapsed span.down{display:none } .fr-collapsible-group-toogle-all{font-size:12px;font-weight:normal} .toogleboxnew{border:1px solid #AAA;padding:2px 2px 0 2px;border-radius:3px}.toogleboxnew_title{background:#EFEFEF;margin:0 0 2px 0;text-align:center;font-weight:bold;padding:0 5em}.toogleboxnew .fr-collapsible-content{font-size:90%} .toogleboxnew .fr-collapsible-toggle,.navboxnew .fr-collapsible-toggle,caption .fr-collapsible-toggle{font-size:0.9em;font-weight:normal;min-width:5em;text-align:left} table.fr-collapsible{min-width:80%}table.fr-collapsible.fr-enhanced-rc{min-width:0}table.fr-collapsible caption{background:#EFEFEF;border:1px solid #AAAAAA;border-radius:3px;margin-bottom:3px} .navboxnew{border:1px solid #AAA;padding:2px 2px 0 2px;background:#F9F9F9;padding:4px 4px 2px 4px;border-radius:3px}.navboxnew ul{margin:0 !important;list-style-type:none;list-style-image:none}.navboxnew ul.navboxnew_cell{width:100%}.navboxnew .navboxnew_row \x3e ul{margin:-2px 0 0 0}.navboxnew li{margin:0}.navboxnew .navboxnew_title{background:#CCCCFF;margin:0 0 2px 0;text-align:center;font-weight:bold;padding:0 5em}.navboxnew .navboxnew_titlesub{font-size:0.8em}.navboxnew .fr-collapsible-content{font-size:90%}.navboxnew ul.navbox_new_nav{display:table-cell;vertical-align:middle}.navboxnew li.navboxnew_table{display:table;width:100%;border-collapse:collapse;margin:0 0 2px 0}.navboxnew .navboxnew_row{display:table-row}.navboxnew .navboxnew_cell{display:table-cell;vertical-align:middle;text-align:center}.navboxnew .navboxnew_th{width:125px;max-width:125px;word-wrap:break-word;background:#DDDDFF;padding:2px 12px;border-right:2px solid #F9F9F9;font-weight:bold}.navboxnew ul.navboxnew_padding{padding:2px 0}.navboxnew .navboxnew_inline.left{text-align:left}.navboxnew .navboxnew_inline li{display:inline;padding:0 12px 0 2px;background:url(\"//upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Bullet_%28typography%29.svg/4px-Bullet_%28typography%29.svg.png\") no-repeat right center;white-space:nowrap}.navboxnew .navboxnew_inline li:last-child{background:none !important;padding:0 2px !important}.navboxnew .navboxnew_last{background:none !important;padding:0 2px !important}.navboxnew .impair{background:#EEEEFF}.navboxnew .pair{background:#f9f9f9}.navboxnew .navboxnew_banner{background:#DDDDFF;text-align:center;margin:0 0 2px 0} .navboxnew .navboxnew_image{padding:5px 0 5px 5px} .navboxnew .navboxnew_ie li{border-top:2px solid #f9f9f9}.navboxnew .navboxnew_ie li.navboxnew_first,.navboxnew .navboxnew_inline li{border-top:0 !important} .navboxnew .navboxnew_ie .navboxnew_cell,.navboxnew .navboxnew_ie .navboxnew_ie{width:100%}.navboxnew .navboxnew_ie div.navboxnew_th{min-width:100px !important;width:100px !important;max-width:100px;word-wrap:break-word} .navboxnew_tnavbar{float :left;font-size:0.8em;margin-left:-5em;font-weight:normal} .foot .navboxnew_title,.foot .navboxnew_banner{background:#99CC99}.foot .navboxnew_th{background:#B3D9B3}.navboxnew.foot .impair{background:#E6F2E6}.hockey .navboxnew_title,.hockey .navboxnew_banner{background:#DFEDFF}.hockey .navboxnew_th{background:#E7F2FF}.navboxnew.hockey .impair{background:#EFF6FF}  .navboxnew_oldie{border:1px solid #AAA;padding:2px 2px 0 2px;background:#F9F9F9;padding:4px 4px 2px 4px}.navboxnew_oldie .fr-collapsible-toggle{font-size:0.9em}.navboxnew_oldie .navboxnew_title{background:#CCCCFF;margin:0 0 2px 0;text-align:center;font-weight:bold;padding:0 5em}.navboxnew_oldie .navboxnew_titlesub{font-size:0.8em}.navboxnew_oldie .fr-collapsible-content{font-size:90%}.navboxnew_oldie .navboxnew_row{background:#DDDDFF}.navboxnew_oldie .navboxnew_th{font-weight:bold;padding:0 12px;float:left;width:125px !important;clear:both;text-align:center;border-top:2px solid #F9F9F9}.navboxnew_oldie .navboxnew_ie{border-left:2px solid #F9F9F9}.navboxnew_oldie .navboxnew_inline{background:#F9F9F9}.navboxnew_oldie .impair .navboxnew_inline{background:#EEEEFF}.navboxnew_oldie ul{margin:0;padding:0;list-style-type:none;list-style-image:none;zoom:1}.navboxnew_oldie .navboxnew_inline{padding:3px 15px}.navboxnew_oldie li{display:inline}.navboxnew_oldie .navboxnew_image{display:none }.navboxnew_oldie .navboxnew_banner{background:#CCCCFF;text-align:center;margin:2px 0 0 0}.navboxnew_oldie li{display:inline}.navboxnew_oldie .navboxnew_image{display:none }.navboxnew_oldie .navboxnew_banner{background:#CCCCFF;text-align:center;margin:2px 0 0 0} .toogleboxnew.demo .toogleboxnew_title{background:lightblue} div.navbox_group{border-radius:3px}.navbox_group .navboxnew{border:0}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:33a185a9e3d9c705b6ce84354497e08f */"
]},{});mw.loader.implement("jquery.articleFeedbackv5.utils",function(){(function($){$.aftUtils={};$.aftUtils.verify=function(location){$.aftUtils.removeLegacyCookies();var article=mw.config.get('aftv5Article');if(location=='article'){article.id=mw.config.get('wgArticleId',-1);article.namespace=mw.config.get('wgNamespaceNumber');article.categories=mw.config.get('wgCategories',[]);}var enable=true;enable&=$.aftUtils.useragent();enable&=mw.config.get('wgArticleFeedbackv5Namespaces',[]).length>0;if(location!='special'||article.id!=0){enable&=$.inArray(article.namespace,mw.config.get('wgArticleFeedbackv5Namespaces',[]))>-1;enable&=mw.config.get('wgAction')!='edit';enable&=!mw.config.get('wgPostEdit',false);}if(location!='special'){enable&=$.aftUtils.permissions(article);enable&=!$.aftUtils.blacklist(article);enable&=($.aftUtils.whitelist(article)||$.aftUtils.lottery(article));}if(location=='article'){enable&=!mw.user.options.get('articlefeedback-disable');enable&=(mw.config.get('wgAction')
=='view'||mw.config.get('wgAction')=='purge');enable&=!(mw.config.get('wgAction')=='purge'&&mw.user.anonymous());enable&=mw.util.getParamValue('diff')==null;enable&=mw.util.getParamValue('oldid')==null;enable&=mw.util.getParamValue('redirect')!='no';enable&=mw.util.getParamValue('printable')!='yes';}return enable;};$.aftUtils.permissions=function(article){var permissions=mw.config.get('wgArticleFeedbackv5Permissions');return article.permissionLevel in permissions&&permissions[article.permissionLevel];};$.aftUtils.blacklist=function(article){var blacklistCategories=mw.config.get('wgArticleFeedbackv5BlacklistCategories',[]);var intersect=$.map(blacklistCategories,function(category){return $.inArray(category.replace(/_/g,' '),article.categories)<0?null:category;});return intersect.length>0;};$.aftUtils.whitelist=function(article){var whitelistCategories=mw.config.get('wgArticleFeedbackv5Categories',[]);var intersect=$.map(whitelistCategories,function(category){return $.inArray(category.
replace(/_/g,' '),article.categories)<0?null:category;});return intersect.length>0;};$.aftUtils.lottery=function(article){var odds=mw.config.get('wgArticleFeedbackv5LotteryOdds',0);if(typeof odds==='object'&&article.namespace in odds){odds=odds[article.namespace];}return(Number(article.id)%1000)>=(1000-(Number(odds)*10));};$.aftUtils.useragent=function(){var ua=navigator.userAgent.toLowerCase();return!(ua.indexOf('msie 6')!=-1||ua.indexOf('firefox/2.')!=-1||ua.indexOf('firefox 2.')!=-1||ua.indexOf('android')!=-1);};$.aftUtils.getCookieName=function(suffix){return'AFTv5-'+suffix;};$.aftUtils.removeLegacyCookies=function(){var legacyCookieName=function(suffix){return'ext.articleFeedbackv5@11-'+suffix;}
$.cookie(legacyCookieName('activity'),null,{expires:-1,path:'/'});$.cookie(legacyCookieName('last-filter'),null,{expires:-1,path:'/'});$.cookie(legacyCookieName('submission_timestamps'),null,{expires:-1,path:'/'});$.cookie(legacyCookieName('feedback-ids'),null,{expires:-1,path:'/'});}})(jQuery);;},{},{});mw.loader.implement("jquery.autoEllipsis",function(){(function($){var cache={},matchTextCache={};$.fn.autoEllipsis=function(options){options=$.extend({position:'center',tooltip:false,restoreText:false,hasSpan:false,matchText:null},options);return this.each(function(){var $trimmableText,text,trimmableText,w,pw,l,r,i,side,m,$container=$(this);if(options.restoreText){if(!$container.data('autoEllipsis.originalText')){$container.data('autoEllipsis.originalText',$container.text());}else{$container.text($container.data('autoEllipsis.originalText'));}}if(options.hasSpan){$trimmableText=$container.children(options.selector);}else{$trimmableText=$('<span>').css('whiteSpace','nowrap').text(
$container.text());$container.empty().append($trimmableText);}text=$container.text();trimmableText=$trimmableText.text();w=$container.width();pw=0;if(options.matchText){if(!(text in matchTextCache)){matchTextCache[text]={};}if(!(options.matchText in matchTextCache[text])){matchTextCache[text][options.matchText]={};}if(!(w in matchTextCache[text][options.matchText])){matchTextCache[text][options.matchText][w]={};}if(options.position in matchTextCache[text][options.matchText][w]){$container.html(matchTextCache[text][options.matchText][w][options.position]);if(options.tooltip){$container.attr('title',text);}return;}}else{if(!(text in cache)){cache[text]={};}if(!(w in cache[text])){cache[text][w]={};}if(options.position in cache[text][w]){$container.html(cache[text][w][options.position]);if(options.tooltip){$container.attr('title',text);}return;}}if($trimmableText.width()+pw>w){switch(options.position){case'right':l=0;r=trimmableText.length;do{m=Math.ceil((l+r)/2);$trimmableText.text(
trimmableText.substr(0,m)+'...');if($trimmableText.width()+pw>w){r=m-1;}else{l=m;}}while(l<r);$trimmableText.text(trimmableText.substr(0,l)+'...');break;case'center':i=[Math.round(trimmableText.length/2),Math.round(trimmableText.length/2)];side=1;while($trimmableText.outerWidth()+pw>w&&i[0]>0){$trimmableText.text(trimmableText.substr(0,i[0])+'...'+trimmableText.substr(i[1]));if(side===0){i[0]--;side=1;}else{i[1]++;side=0;}}break;case'left':r=0;while($trimmableText.outerWidth()+pw>w&&r<trimmableText.length){$trimmableText.text('...'+trimmableText.substr(r));r++;}break;}}if(options.tooltip){$container.attr('title',text);}if(options.matchText){$container.highlightText(options.matchText);matchTextCache[text][options.matchText][w][options.position]=$container.html();}else{cache[text][w][options.position]=$container.html();}});};}(jQuery));;},{},{});mw.loader.implement("jquery.byteLength",function(){jQuery.byteLength=function(str){return str.replace(/[\u0080-\u07FF\uD800-\uDFFF]/g,'**').
replace(/[\u0800-\uD7FF\uE000-\uFFFF]/g,'***').length;};;},{},{});mw.loader.implement("jquery.byteLimit",function(){(function($){function trimValForByteLength(safeVal,newVal,byteLimit,fn){var startMatches,endMatches,matchesLen,inpParts,oldVal=safeVal;if($.byteLength(fn?fn(newVal):newVal)<=byteLimit){return{newVal:newVal,trimmed:false};}startMatches=0;endMatches=0;matchesLen=Math.min(newVal.length,oldVal.length);while(startMatches<matchesLen&&oldVal.charAt(startMatches)===newVal.charAt(startMatches)){startMatches+=1;}while(endMatches<(matchesLen-startMatches)&&oldVal.charAt(oldVal.length-1-endMatches)===newVal.charAt(newVal.length-1-endMatches)){endMatches+=1;}inpParts=[newVal.substring(0,startMatches),newVal.substring(startMatches,newVal.length-endMatches),newVal.substring(newVal.length-endMatches)];if(fn){while($.byteLength(fn(inpParts.join('')))>byteLimit){inpParts[1]=inpParts[1].slice(0,-1);}}else{while($.byteLength(inpParts.join(''))>byteLimit){inpParts[1]=inpParts[1].slice(0,-1);}
}newVal=inpParts.join('');return{newVal:newVal,trimmed:true};}var eventKeys=['keyup.byteLimit','keydown.byteLimit','change.byteLimit','mouseup.byteLimit','cut.byteLimit','paste.byteLimit','focus.byteLimit','blur.byteLimit'].join(' ');$.fn.byteLimit=function(limit,fn){if($.isFunction(limit)){fn=limit;limit=undefined;}else if(!fn||!$.isFunction(fn)){fn=undefined;}return this.each(function(i,el){var $el,elLimit,prevSafeVal;$el=$(el);elLimit=Number(limit===undefined?$el.attr('maxlength'):limit);if(!elLimit||elLimit<0){return;}if(fn){$el.data('byteLimit.callback',fn);}$el.off('.byteLimit');if(fn){$el.removeAttr('maxlength');}else{$el.attr('maxlength',elLimit);}prevSafeVal='';$el.on(eventKeys,function(){var res=trimValForByteLength(prevSafeVal,this.value,elLimit,fn);if(res.trimmed===true){this.value=res.newVal;}prevSafeVal=res.newVal;});});};}(jQuery));;},{},{});mw.loader.implement("jquery.checkboxShiftClick",function(){(function($){$.fn.checkboxShiftClick=function(){var prevCheckbox=null,
$box=this;$box.click(function(e){if(prevCheckbox!==null&&e.shiftKey){$box.slice(Math.min($box.index(prevCheckbox),$box.index(e.target)),Math.max($box.index(prevCheckbox),$box.index(e.target))+1).prop('checked',!!e.target.checked);}prevCheckbox=e.target;});return $box;};}(jQuery));;},{},{});mw.loader.implement("jquery.delayedBind",function(){(function($){function encodeEvent(event){return event.replace(/-/g,'--').replace(/ /g,'-');}$.fn.extend({delayedBind:function(timeout,event,data,callback){if(arguments.length===3){callback=data;data=undefined;}var encEvent=encodeEvent(event);return this.each(function(){var that=this;if(!($(this).data('_delayedBindBound-'+encEvent+'-'+timeout))){$(this).data('_delayedBindBound-'+encEvent+'-'+timeout,true);$(this).bind(event,function(){var timerID=$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout);if(timerID!==null){clearTimeout(timerID);}timerID=setTimeout(function(){$(that).trigger('_delayedBind-'+encEvent+'-'+timeout);},timeout);$(this).data
('_delayedBindTimerID-'+encEvent+'-'+timeout,timerID);});}$(this).bind('_delayedBind-'+encEvent+'-'+timeout,data,callback);});},delayedBindCancel:function(timeout,event){var encEvent=encodeEvent(event);return this.each(function(){var timerID=$(this).data('_delayedBindTimerID-'+encEvent+'-'+timeout);if(timerID!==null){clearTimeout(timerID);}});},delayedBindUnbind:function(timeout,event,callback){var encEvent=encodeEvent(event);return this.each(function(){$(this).unbind('_delayedBind-'+encEvent+'-'+timeout,callback);});}});}(jQuery));;},{},{});mw.loader.implement("jquery.hidpi",function(){(function($){$.devicePixelRatio=function(){if(window.devicePixelRatio!==undefined){return window.devicePixelRatio;}else if(window.msMatchMedia!==undefined){if(window.msMatchMedia('(min-resolution: 192dpi)').matches){return 2;}else if(window.msMatchMedia('(min-resolution: 144dpi)').matches){return 1.5;}else{return 1;}}else{return 1;}};$.fn.hidpi=function(){var $target=this,devicePixelRatio=$.
devicePixelRatio(),testImage=new Image();if(devicePixelRatio>1&&testImage.srcset===undefined){$target.find('img').each(function(){var $img=$(this),srcset=$img.attr('srcset'),match;if(typeof srcset==='string'&&srcset!==''){match=$.matchSrcSet(devicePixelRatio,srcset);if(match!==null){$img.attr('src',match);}}});}return $target;};$.matchSrcSet=function(devicePixelRatio,srcset){var candidates,candidate,bits,src,i,ratioStr,ratio,selectedRatio=1,selectedSrc=null;candidates=srcset.split(/ *, */);for(i=0;i<candidates.length;i++){candidate=candidates[i];bits=candidate.split(/ +/);src=bits[0];if(bits.length>1&&bits[1].charAt(bits[1].length-1)==='x'){ratioStr=bits[1].substr(0,bits[1].length-1);ratio=parseFloat(ratioStr);if(ratio<=devicePixelRatio&&ratio>selectedRatio){selectedRatio=ratio;selectedSrc=src;}}}return selectedSrc;};}(jQuery));;},{},{});mw.loader.implement("jquery.highlightText",function(){(function($){$.highlightText={splitAndHighlight:function(node,pat){var i,patArray=pat.split(' ')
;for(i=0;i<patArray.length;i++){if(patArray[i].length===0){continue;}$.highlightText.innerHighlight(node,patArray[i]);}return node;},innerHighlight:function(node,pat){var i,match,pos,spannode,middlebit,middleclone;if(node.nodeType===3){match=node.data.match(new RegExp('(^|\\s)'+$.escapeRE(pat),'i'));if(match){pos=match.index+match[1].length;spannode=document.createElement('span');spannode.className='highlight';middlebit=node.splitText(pos);middlebit.splitText(pat.length);middleclone=middlebit.cloneNode(true);spannode.appendChild(middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);}}else if(node.nodeType===1&&node.childNodes&&!/(script|style)/i.test(node.tagName)&&!(node.tagName.toLowerCase()==='span'&&node.className.match(/\bhighlight/))){for(i=0;i<node.childNodes.length;++i){$.highlightText.innerHighlight(node.childNodes[i],pat);}}}};$.fn.highlightText=function(matchString){return this.each(function(){var $el=$(this);$el.data('highlightText',{originalText:$el.text()});$
.highlightText.splitAndHighlight(this,matchString);});};}(jQuery));;},{},{});mw.loader.implement("jquery.json",function(){(function($){'use strict';var escape=/["\\\x00-\x1f\x7f-\x9f]/g,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},hasOwn=Object.prototype.hasOwnProperty;$.toJSON=typeof JSON==='object'&&JSON.stringify?JSON.stringify:function(o){if(o===null){return'null';}var pairs,k,name,val,type=$.type(o);if(type==='undefined'){return undefined;}if(type==='number'||type==='boolean'){return String(o);}if(type==='string'){return $.quoteString(o);}if(typeof o.toJSON==='function'){return $.toJSON(o.toJSON());}if(type==='date'){var month=o.getUTCMonth()+1,day=o.getUTCDate(),year=o.getUTCFullYear(),hours=o.getUTCHours(),minutes=o.getUTCMinutes(),seconds=o.getUTCSeconds(),milli=o.getUTCMilliseconds();if(month<10){month='0'+month;}if(day<10){day='0'+day;}if(hours<10){hours='0'+hours;}if(minutes<10){minutes='0'+minutes;}if(seconds<10){seconds='0'+seconds;}
if(milli<100){milli='0'+milli;}if(milli<10){milli='0'+milli;}return'"'+year+'-'+month+'-'+day+'T'+hours+':'+minutes+':'+seconds+'.'+milli+'Z"';}pairs=[];if($.isArray(o)){for(k=0;k<o.length;k++){pairs.push($.toJSON(o[k])||'null');}return'['+pairs.join(',')+']';}if(typeof o==='object'){for(k in o){if(hasOwn.call(o,k)){type=typeof k;if(type==='number'){name='"'+k+'"';}else if(type==='string'){name=$.quoteString(k);}else{continue;}type=typeof o[k];if(type!=='function'&&type!=='undefined'){val=$.toJSON(o[k]);pairs.push(name+':'+val);}}}return'{'+pairs.join(',')+'}';}};$.evalJSON=typeof JSON==='object'&&JSON.parse?JSON.parse:function(str){return eval('('+str+')');};$.secureEvalJSON=typeof JSON==='object'&&JSON.parse?JSON.parse:function(str){var filtered=str.replace(/\\["\\\/bfnrtu]/g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,'');if(/^[\],:{}\s]*$/.test(filtered)){return eval('('+str+')');}throw new SyntaxError(
'Error parsing JSON, source is not valid.');};$.quoteString=function(str){if(str.match(escape)){return'"'+str.replace(escape,function(a){var c=meta[a];if(typeof c==='string'){return c;}c=a.charCodeAt();return'\\u00'+Math.floor(c/16).toString(16)+(c%16).toString(16);})+'"';}return'"'+str+'"';};}(jQuery));;},{},{});mw.loader.implement("jquery.makeCollapsible",function(){(function($,mw){var lpx='jquery.makeCollapsible> ';function toggleElement($collapsible,action,$defaultToggle,options){var $collapsibleContent,$containers;options=options||{};if(!$collapsible.jquery){return;}if(action!=='expand'&&action!=='collapse'){return;}if($defaultToggle===undefined){$defaultToggle=null;}if($defaultToggle!==null&&!$defaultToggle.jquery){return;}if(!options.plainMode&&$collapsible.is('table')){$containers=$collapsible.find('> tbody > tr');if($defaultToggle){$containers=$containers.not($defaultToggle.closest('tr'));}if(action==='collapse'){if(options.instantHide){$containers.hide();}else{$containers.
stop(true,true).fadeOut();}}else{$containers.stop(true,true).fadeIn();}}else if(!options.plainMode&&($collapsible.is('ul')||$collapsible.is('ol'))){$containers=$collapsible.find('> li');if($defaultToggle){$containers=$containers.not($defaultToggle.parent());}if(action==='collapse'){if(options.instantHide){$containers.hide();}else{$containers.stop(true,true).slideUp();}}else{$containers.stop(true,true).slideDown();}}else{$collapsibleContent=$collapsible.find('> .mw-collapsible-content');if(!options.plainMode&&$collapsibleContent.length){if(action==='collapse'){if(options.instantHide){$collapsibleContent.hide();}else{$collapsibleContent.slideUp();}}else{$collapsibleContent.slideDown();}}else{if(action==='collapse'){if(options.instantHide){$collapsible.hide();}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeOut();}else{$collapsible.slideUp();}}}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeIn();}
else{$collapsible.slideDown();}}}}}function togglingHandler($toggle,$collapsible,event,options){var wasCollapsed,$textContainer,collapseText,expandText;if(event){if(options.linksPassthru&&$.nodeName(event.target,'a')){return true;}else{event.preventDefault();event.stopPropagation();}}wasCollapsed=$collapsible.hasClass('mw-collapsed');$collapsible.toggleClass('mw-collapsed',!wasCollapsed);if(options.toggleClasses){$toggle.toggleClass('mw-collapsible-toggle-collapsed',!wasCollapsed).toggleClass('mw-collapsible-toggle-expanded',wasCollapsed);}if(options.toggleText){collapseText=options.toggleText.collapseText;expandText=options.toggleText.expandText;$textContainer=$toggle.find('> a');if(!$textContainer.length){$textContainer=$toggle;}$textContainer.text(wasCollapsed?collapseText:expandText);}toggleElement($collapsible,wasCollapsed?'expand':'collapse',$toggle,options);}function toggleLinkDefault($that,e,options){var $collapsible=$that.closest('.mw-collapsible');options=$.extend({
toggleClasses:true},options);togglingHandler($that,$collapsible,e,options);}function toggleLinkPremade($that,e,options){var $collapsible=$that.eq(0).closest('.mw-collapsible');options=$.extend({toggleClasses:true},options);togglingHandler($that,$collapsible,e,options);}function toggleLinkCustom($that,e,options,$collapsible){options=$.extend({linksPassthru:true},options);togglingHandler($that,$collapsible,e,options);}$.fn.makeCollapsible=function(options){return this.each(function(){var $collapsible,collapsetext,expandtext,$toggle,$toggleLink,$firstItem,collapsibleId,$customTogglers,firstval;if(options===undefined){options={};}$collapsible=$(this).addClass('mw-collapsible');if($collapsible.data('mw-made-collapsible')){return;}else{$collapsible.data('mw-made-collapsible',true);}collapsetext=options.collapseText||$collapsible.attr('data-collapsetext')||mw.msg('collapsible-collapse');expandtext=options.expandText||$collapsible.attr('data-expandtext')||mw.msg('collapsible-expand');
$toggleLink=$('<a href="#"></a>').text(collapsetext).wrap('<span class="mw-collapsible-toggle"></span>').parent().prepend('&nbsp;[').append(']&nbsp;').on('click.mw-collapse',function(e,opts){opts=$.extend({toggleText:{collapseText:collapsetext,expandText:expandtext}},options,opts);toggleLinkDefault($(this),e,opts);});if(options.$customTogglers){$customTogglers=$(options.$customTogglers);}else{collapsibleId=$collapsible.attr('id')||'';if(collapsibleId.indexOf('mw-customcollapsible-')===0){mw.log(lpx+'Found custom collapsible: #'+collapsibleId);$customTogglers=$('.'+collapsibleId.replace('mw-customcollapsible','mw-customtoggle'));if(!$customTogglers.length){mw.log(lpx+'#'+collapsibleId+': Missing toggler!');}}}if($customTogglers&&$customTogglers.length){$customTogglers.on('click.mw-collapse',function(e,opts){opts=$.extend({},options,opts);toggleLinkCustom($(this),e,opts,$collapsible);});if(options.collapsed||$collapsible.hasClass('mw-collapsed')){$collapsible.removeClass('mw-collapsed');
toggleLinkCustom($customTogglers,null,$.extend({instantHide:true},options),$collapsible);}}else{if($collapsible.is('table')){$firstItem=$collapsible.find('tr:first th, tr:first td');$toggle=$firstItem.find('> .mw-collapsible-toggle');if(!$toggle.length){$firstItem.eq(-1).prepend($toggleLink);}else{$toggleLink=$toggle.off('click.mw-collapse').on('click.mw-collapse',function(e,opts){opts=$.extend({},options,opts);toggleLinkPremade($toggle,e,opts);});}}else if($collapsible.is('ul')||$collapsible.is('ol')){$firstItem=$collapsible.find('li:first');$toggle=$firstItem.find('> .mw-collapsible-toggle');if(!$toggle.length){firstval=$firstItem.attr('value');if(firstval===undefined||!firstval||firstval==='-1'||firstval===-1){$firstItem.attr('value','1');}$collapsible.prepend($toggleLink.wrap('<li class="mw-collapsible-toggle-li"></li>').parent());}else{$toggleLink=$toggle.off('click.mw-collapse').on('click.mw-collapse',function(e,opts){opts=$.extend({},options,opts);toggleLinkPremade($toggle,e,
opts);});}}else{$toggle=$collapsible.find('> .mw-collapsible-toggle');if(!$collapsible.find('> .mw-collapsible-content').length){$collapsible.wrapInner('<div class="mw-collapsible-content"></div>');}if(!$toggle.length){$collapsible.prepend($toggleLink);}else{$toggleLink=$toggle.off('click.mw-collapse').on('click.mw-collapse',function(e,opts){opts=$.extend({},options,opts);toggleLinkPremade($toggle,e,opts);});}}}if((options.collapsed||$collapsible.hasClass('mw-collapsed'))&&(!$customTogglers||!$customTogglers.length)){$collapsible.removeClass('mw-collapsed');$toggleLink.eq(0).trigger('click',[{instantHide:true}]);}});};}(jQuery,mediaWiki));;},{"css":[".mw-collapsible-toggle{float:right} li .mw-collapsible-toggle{float:none} .mw-collapsible-toggle-li{list-style:none}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:4250852ed2349a0d4d0fc6509a3e7d4c */"]},{"collapsible-expand":"afficher","collapsible-collapse":"masquer"});mw.loader.implement("jquery.mw-jump",function(){jQuery(
function($){$('.mw-jump').on('focus blur','a',function(e){if(e.type==='blur'||e.type==='focusout'){$(this).closest('.mw-jump').css({height:0});}else{$(this).closest('.mw-jump').css({height:'auto'});}});});;},{},{});mw.loader.implement("jquery.placeholder",function(){(function($){$.fn.placeholder=function(){return this.each(function(){var placeholder,$input;if(this.placeholder&&'placeholder'in document.createElement(this.tagName)){return;}placeholder=this.getAttribute('placeholder');$input=$(this);if(this.value===''||this.value===placeholder){$input.addClass('placeholder').val(placeholder);}$input.blur(function(){if(this.value===''){this.value=placeholder;$input.addClass('placeholder');}}).on('focus drop keydown paste',function(e){if($input.hasClass('placeholder')){if(e.type==='drop'&&e.originalEvent.dataTransfer){try{this.value=e.originalEvent.dataTransfer.getData('text/plain');}catch(exception){this.value=e.originalEvent.dataTransfer.getData('text');}e.preventDefault();}else{this.
value='';}$input.removeClass('placeholder');}});if(this.form){$(this.form).submit(function(){if($input.hasClass('placeholder')){$input.val('').removeClass('placeholder');}});}});};}(jQuery));;},{},{});mw.loader.implement("jquery.suggestions",function(){(function($){$.suggestions={cancel:function(context){if(context.data.timerID!==null){clearTimeout(context.data.timerID);}if($.isFunction(context.config.cancel)){context.config.cancel.call(context.data.$textbox);}},restore:function(context){context.data.$textbox.val(context.data.prevText);},update:function(context,delayed){function maybeFetch(){if(context.data.$textbox.val().length===0){context.data.$container.hide();context.data.prevText='';}else if(context.data.$textbox.val()!==context.data.prevText||!context.data.$container.is(':visible')){if(typeof context.config.fetch==='function'){context.data.prevText=context.data.$textbox.val();context.config.fetch.call(context.data.$textbox,context.data.$textbox.val());}}}$.suggestions.cancel(
context);if(delayed){context.data.timerID=setTimeout(maybeFetch,context.config.delay);}else{maybeFetch();}$.suggestions.special(context);},special:function(context){if(typeof context.config.special.render==='function'){setTimeout(function(){var $special=context.data.$container.find('.suggestions-special');context.config.special.render.call($special,context.data.$textbox.val(),context);},1);}},configure:function(context,property,value){var newCSS,$autoEllipseMe,$result,$results,childrenWidth,i,expWidth,matchedText,maxWidth,text;switch(property){case'fetch':case'cancel':case'special':case'result':case'$region':case'expandFrom':context.config[property]=value;break;case'suggestions':context.config[property]=value;if(context.data!==undefined){if(context.data.$textbox.val().length===0){context.data.$container.hide();}else{context.data.$container.show();newCSS={top:context.config.$region.offset().top+context.config.$region.outerHeight(),bottom:'auto',width:context.config.$region.outerWidth(),
height:'auto'};context.config.expandFrom=(function(expandFrom){var regionWidth,docWidth,regionCenter,docCenter,docDir=$(document.documentElement).css('direction'),$region=context.config.$region;if(context.config.positionFromLeft){expandFrom='left';}else if($.inArray(expandFrom,['left','right','start','end','auto'])===-1){expandFrom='auto';}if(expandFrom==='auto'){if($region.data('searchsuggest-expand-dir')){expandFrom=$region.data('searchsuggest-expand-dir');}else{regionWidth=$region.outerWidth();docWidth=$(document).width();if((regionWidth/docWidth)>0.85){expandFrom='start';}else{regionCenter=$region.offset().left+regionWidth/2;docCenter=docWidth/2;if(Math.abs(regionCenter-docCenter)/docCenter<0.10){expandFrom='start';}else{expandFrom=regionCenter>docCenter?'right':'left';}}}}if(expandFrom==='start'){expandFrom=docDir==='rtl'?'right':'left';}else if(expandFrom==='end'){expandFrom=docDir==='rtl'?'left':'right';}return expandFrom;}(context.config.expandFrom));if(context.config.
expandFrom==='left'){newCSS.left=context.config.$region.offset().left;newCSS.right='auto';}else{newCSS.left='auto';newCSS.right=$('body').width()-(context.config.$region.offset().left+context.config.$region.outerWidth());}context.data.$container.css(newCSS);$results=context.data.$container.children('.suggestions-results');$results.empty();expWidth=-1;$autoEllipseMe=$([]);matchedText=null;for(i=0;i<context.config.suggestions.length;i++){text=context.config.suggestions[i];$result=$('<div>').addClass('suggestions-result').attr('rel',i).data('text',context.config.suggestions[i]).mousemove(function(){context.data.selectedWithMouse=true;$.suggestions.highlight(context,$(this).closest('.suggestions-results .suggestions-result'),false);}).appendTo($results);if(typeof context.config.result.render==='function'){context.config.result.render.call($result,context.config.suggestions[i],context);}else{$result.append($('<span>').css('whiteSpace','nowrap').text(text));}if(context.config.highlightInput)
{matchedText=context.data.prevText;}childrenWidth=$result.children().outerWidth();if(childrenWidth>$result.width()&&childrenWidth>expWidth){expWidth=childrenWidth+(context.data.$container.width()-$result.width());}$autoEllipseMe=$autoEllipseMe.add($result);}if(expWidth>context.data.$container.width()){maxWidth=context.config.maxExpandFactor*context.data.$textbox.width();context.data.$container.width(Math.min(expWidth,maxWidth));}$autoEllipseMe.autoEllipsis({hasSpan:true,tooltip:true,matchText:matchedText});}}break;case'maxRows':context.config[property]=Math.max(1,Math.min(100,value));break;case'delay':context.config[property]=Math.max(0,Math.min(1200,value));break;case'maxExpandFactor':context.config[property]=Math.max(1,value);break;case'submitOnClick':case'positionFromLeft':case'highlightInput':context.config[property]=value?true:false;break;}},highlight:function(context,result,updateTextbox){var selected=context.data.$container.find('.suggestions-result-current');if(!result.get||
selected.get(0)!==result.get(0)){if(result==='prev'){if(selected.hasClass('suggestions-special')){result=context.data.$container.find('.suggestions-result:last');}else{result=selected.prev();if(!(result.length&&result.hasClass('suggestions-result'))){result=selected.parents('.suggestions-results > *').prev().find('.suggestions-result').eq(0);}if(selected.length===0){if(context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}else{result=context.data.$container.find('.suggestions-results .suggestions-result:last');}}}}else if(result==='next'){if(selected.length===0){result=context.data.$container.find('.suggestions-results .suggestions-result:first');if(result.length===0&&context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}}else{result=selected.next();if(!(result.length&&result.hasClass('suggestions-result'))){result=selected.parents(
'.suggestions-results > *').next().find('.suggestions-result').eq(0);}if(selected.hasClass('suggestions-special')){result=$([]);}else if(result.length===0&&context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}}}selected.removeClass('suggestions-result-current');result.addClass('suggestions-result-current');}if(updateTextbox){if(result.length===0||result.is('.suggestions-special')){$.suggestions.restore(context);}else{context.data.$textbox.val(result.data('text'));context.data.$textbox.change();}context.data.$textbox.trigger('change');}},keypress:function(e,context,key){var selected,wasVisible=context.data.$container.is(':visible'),preventDefault=false;switch(key){case 40:if(wasVisible){$.suggestions.highlight(context,'next',true);context.data.selectedWithMouse=false;}else{$.suggestions.update(context,false);}preventDefault=true;break;case 38:if(wasVisible){$.suggestions.highlight(context,'prev',true);context.data
.selectedWithMouse=false;}preventDefault=wasVisible;break;case 27:context.data.$container.hide();$.suggestions.restore(context);$.suggestions.cancel(context);context.data.$textbox.trigger('change');preventDefault=wasVisible;break;case 13:context.data.$container.hide();preventDefault=wasVisible;selected=context.data.$container.find('.suggestions-result-current');if(selected.length===0||context.data.selectedWithMouse){$.suggestions.cancel(context);context.config.$region.closest('form').submit();}else if(selected.is('.suggestions-special')){if(typeof context.config.special.select==='function'){context.config.special.select.call(selected,context.data.$textbox);}}else{if(typeof context.config.result.select==='function'){$.suggestions.highlight(context,selected,true);context.config.result.select.call(selected,context.data.$textbox);}else{$.suggestions.highlight(context,selected,true);}}break;default:$.suggestions.update(context,true);break;}if(preventDefault){e.preventDefault();e.
stopImmediatePropagation();}}};$.fn.suggestions=function(){var returnValue,args=arguments;$(this).each(function(){var context,key;context=$(this).data('suggestions-context');if(context===undefined||context===null){context={config:{fetch:function(){},cancel:function(){},special:{},result:{},$region:$(this),suggestions:[],maxRows:7,delay:120,submitOnClick:false,maxExpandFactor:3,expandFrom:'auto',highlightInput:false}};}if(args.length>0){if(typeof args[0]==='object'){for(key in args[0]){$.suggestions.configure(context,key,args[0][key]);}}else if(typeof args[0]==='string'){if(args.length>1){$.suggestions.configure(context,args[0],args[1]);}else if(returnValue===null||returnValue===undefined){returnValue=(args[0]in context.config?undefined:context.config[args[0]]);}}}if(context.data===undefined){context.data={timerID:null,prevText:null,visibleResults:0,mouseDownOn:$([]),$textbox:$(this),selectedWithMouse:false};context.data.$container=$('<div>').css('display','none').addClass('suggestions'
).append($('<div>').addClass('suggestions-results').mousedown(function(e){context.data.mouseDownOn=$(e.target).closest('.suggestions-results .suggestions-result');}).mouseup(function(e){var $result=$(e.target).closest('.suggestions-results .suggestions-result'),$other=context.data.mouseDownOn;context.data.mouseDownOn=$([]);if($result.get(0)!==$other.get(0)){return;}if(!(e.which!==1||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){$.suggestions.highlight(context,$result,true);context.data.$container.hide();if(typeof context.config.result.select==='function'){context.config.result.select.call($result,context.data.$textbox);}}context.data.$textbox.focus();})).append($('<div>').addClass('suggestions-special').mousedown(function(e){context.data.mouseDownOn=$(e.target).closest('.suggestions-special');}).mouseup(function(e){var $special=$(e.target).closest('.suggestions-special'),$other=context.data.mouseDownOn;context.data.mouseDownOn=$([]);if($special.get(0)!==$other.get(0)){return;}if(!(e.
which!==1||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){context.data.$container.hide();if(typeof context.config.special.select==='function'){context.config.special.select.call($special,context.data.$textbox);}}context.data.$textbox.focus();}).mousemove(function(e){context.data.selectedWithMouse=true;$.suggestions.highlight(context,$(e.target).closest('.suggestions-special'),false);})).appendTo($('body'));$(this).attr('autocomplete','off').keydown(function(e){context.data.keypressed=e.which;context.data.keypressedCount=0;switch(context.data.keypressed){case 40:e.preventDefault();e.stopImmediatePropagation();break;case 38:case 27:case 13:if(context.data.$container.is(':visible')){e.preventDefault();e.stopImmediatePropagation();}}}).keypress(function(e){context.data.keypressedCount++;$.suggestions.keypress(e,context,context.data.keypressed);}).keyup(function(e){if(context.data.keypressedCount===0){$.suggestions.keypress(e,context,context.data.keypressed);}}).blur(function(){if(context.
data.mouseDownOn.length>0){return;}context.data.$container.hide();$.suggestions.cancel(context);});}$(this).data('suggestions-context',context);});return returnValue!==undefined?returnValue:$(this);};}(jQuery));;},{"css":[
".suggestions{overflow:hidden;position:absolute;top:0;left:0;width:0;border:none;z-index:1099;padding:0;margin:-1px -1px 0 0} html \x3e body .suggestions{margin:-1px 0 0 0}.suggestions-special{position:relative;background-color:white;cursor:pointer;border:solid 1px #aaaaaa;padding:0;margin:0;margin-top:-2px;display:none;padding:0.25em 0.25em;line-height:1.25em}.suggestions-results{background-color:white;cursor:pointer;border:solid 1px #aaaaaa;padding:0;margin:0}.suggestions-result{color:black;margin:0;line-height:1.5em;padding:0.01em 0.25em;text-align:left}.suggestions-result-current{background-color:#4C59A6;color:white}.suggestions-special .special-label{color:gray;text-align:left}.suggestions-special .special-query{color:black;font-style:italic;text-align:left}.suggestions-special .special-hover{background-color:silver}.suggestions-result-current .special-label,.suggestions-result-current .special-query{color:white}.autoellipsis-matched,.highlight{font-weight:bold}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:9780324491b653a3780e2d029bdc140c */"
]},{});mw.loader.implement("jquery.tabIndex",function(){(function($){$.fn.firstTabIndex=function(){var minTabIndex=null;$(this).find('[tabindex]').each(function(){var tabIndex=parseInt($(this).prop('tabindex'),10);if(tabIndex>0&&!isNaN(tabIndex)){if(minTabIndex===null){minTabIndex=tabIndex;}else if(tabIndex<minTabIndex){minTabIndex=tabIndex;}}});return minTabIndex;};$.fn.lastTabIndex=function(){var maxTabIndex=null;$(this).find('[tabindex]').each(function(){var tabIndex=parseInt($(this).prop('tabindex'),10);if(tabIndex>0&&!isNaN(tabIndex)){if(maxTabIndex===null){maxTabIndex=tabIndex;}else if(tabIndex>maxTabIndex){maxTabIndex=tabIndex;}}});return maxTabIndex;};}(jQuery));;},{},{});mw.loader.implement("jquery.textSelection",function(){(function($){if(document.selection&&document.selection.createRange){$.fn.extend({focus:(function(jqFocus){return function(){var $w,state,result;if(arguments.length===0){$w=$(window);state={top:$w.scrollTop(),left:$w.scrollLeft()};result=jqFocus.apply(this,
arguments);window.scrollTo(state.top,state.left);return result;}return jqFocus.apply(this,arguments);};}($.fn.focus))});}$.fn.textSelection=function(command,options){var fn,context,hasIframe,needSave,retval;function rangeForElementIE(e){if(e.nodeName.toLowerCase()==='input'){return e.createTextRange();}else{var sel=document.body.createTextRange();sel.moveToElementText(e);return sel;}}function activateElementOnIE(element){if(element.setActive){element.setActive();}else{$(element).focus();}}fn={getContents:function(){return this.val();},getSelection:function(){var retval,range,el=this.get(0);if($(el).is(':hidden')){retval='';}else if(document.selection&&document.selection.createRange){activateElementOnIE(el);range=document.selection.createRange();retval=range.text;}else if(el.selectionStart||el.selectionStart===0){retval=el.value.substring(el.selectionStart,el.selectionEnd);}return retval;},encapsulateSelection:function(options){return this.each(function(){var selText,scrollTop,
insertText,isSample,range,range2,range3,startPos,endPos,pre=options.pre,post=options.post;function checkSelectedText(){if(!selText){selText=options.peri;isSample=true;}else if(options.replace){selText=options.peri;}else{while(selText.charAt(selText.length-1)===' '){selText=selText.substring(0,selText.length-1);post+=' ';}while(selText.charAt(0)===' '){selText=selText.substring(1,selText.length);pre=' '+pre;}}}function doSplitLines(selText,pre,post){var i,insertText='',selTextArr=selText.split('\n');for(i=0;i<selTextArr.length;i++){insertText+=pre+selTextArr[i]+post;if(i!==selTextArr.length-1){insertText+='\n';}}return insertText;}isSample=false;if(this.style.display==='none'){}else if(document.selection&&document.selection.createRange){activateElementOnIE(this);if(context){context.fn.restoreCursorAndScrollTop();}if(options.selectionStart!==undefined){$(this).textSelection('setSelection',{'start':options.selectionStart,'end':options.selectionEnd});}selText=$(this).textSelection(
'getSelection');scrollTop=this.scrollTop;range=document.selection.createRange();checkSelectedText();insertText=pre+selText+post;if(options.splitlines){insertText=doSplitLines(selText,pre,post);}if(options.ownline&&range.moveStart){range2=document.selection.createRange();range2.collapse();range2.moveStart('character',-1);if(range2.text!=='\r'&&range2.text!=='\n'&&range2.text!==''){insertText='\n'+insertText;pre+='\n';}range3=document.selection.createRange();range3.collapse(false);range3.moveEnd('character',1);if(range3.text!=='\r'&&range3.text!=='\n'&&range3.text!==''){insertText+='\n';post+='\n';}}range.text=insertText;if(isSample&&options.selectPeri&&range.moveStart){range.moveStart('character',-post.length-selText.length);range.moveEnd('character',-post.length);}range.select();this.scrollTop=scrollTop;}else if(this.selectionStart||this.selectionStart===0){$(this).focus();if(options.selectionStart!==undefined){$(this).textSelection('setSelection',{'start':options.selectionStart,'end':
options.selectionEnd});}selText=$(this).textSelection('getSelection');startPos=this.selectionStart;endPos=this.selectionEnd;scrollTop=this.scrollTop;checkSelectedText();if(options.selectionStart!==undefined&&endPos-startPos!==options.selectionEnd-options.selectionStart){startPos=options.selectionStart;}insertText=pre+selText+post;if(options.splitlines){insertText=doSplitLines(selText,pre,post);}if(options.ownline){if(startPos!==0&&this.value.charAt(startPos-1)!=='\n'&&this.value.charAt(startPos-1)!=='\r'){insertText='\n'+insertText;pre+='\n';}if(this.value.charAt(endPos)!=='\n'&&this.value.charAt(endPos)!=='\r'){insertText+='\n';post+='\n';}}this.value=this.value.substring(0,startPos)+insertText+this.value.substring(endPos,this.value.length);this.scrollTop=scrollTop;if(window.opera){pre=pre.replace(/\r?\n/g,'\r\n');selText=selText.replace(/\r?\n/g,'\r\n');post=post.replace(/\r?\n/g,'\r\n');}if(isSample&&options.selectPeri&&!options.splitlines){this.selectionStart=startPos+pre.length;
this.selectionEnd=startPos+pre.length+selText.length;}else{this.selectionStart=startPos+insertText.length;this.selectionEnd=this.selectionStart;}}$(this).trigger('encapsulateSelection',[options.pre,options.peri,options.post,options.ownline,options.replace,options.spitlines]);});},getCaretPosition:function(options){function getCaret(e){var caretPos=0,endPos=0,preText,rawPreText,periText,rawPeriText,postText,rawPostText,preFinished,periFinished,postFinished,periRange,preRange,postRange;if(document.selection&&document.selection.createRange){activateElementOnIE(e);preFinished=false;periFinished=false;postFinished=false;periRange=document.selection.createRange().duplicate();preRange=rangeForElementIE(e),preRange.setEndPoint('EndToStart',periRange);postRange=rangeForElementIE(e);postRange.setEndPoint('StartToEnd',periRange);preText=rawPreText=preRange.text;periText=rawPeriText=periRange.text;postText=rawPostText=postRange.text;do{if(!preFinished){if(preRange.compareEndPoints('StartToEnd',
preRange)===0){preFinished=true;}else{preRange.moveEnd('character',-1);if(preRange.text===preText){rawPreText+='\r\n';}else{preFinished=true;}}}if(!periFinished){if(periRange.compareEndPoints('StartToEnd',periRange)===0){periFinished=true;}else{periRange.moveEnd('character',-1);if(periRange.text===periText){rawPeriText+='\r\n';}else{periFinished=true;}}}if(!postFinished){if(postRange.compareEndPoints('StartToEnd',postRange)===0){postFinished=true;}else{postRange.moveEnd('character',-1);if(postRange.text===postText){rawPostText+='\r\n';}else{postFinished=true;}}}}while((!preFinished||!periFinished||!postFinished));caretPos=rawPreText.replace(/\r\n/g,'\n').length;endPos=caretPos+rawPeriText.replace(/\r\n/g,'\n').length;}else if(e.selectionStart||e.selectionStart===0){caretPos=e.selectionStart;endPos=e.selectionEnd;}return options.startAndEnd?[caretPos,endPos]:caretPos;}return getCaret(this.get(0));},setSelection:function(options){return this.each(function(){var selection,length,newLines;
if($(this).is(':hidden')){}else if(this.selectionStart||this.selectionStart===0){if(options.start>this.selectionEnd){this.selectionEnd=options.end;this.selectionStart=options.start;}else{this.selectionStart=options.start;this.selectionEnd=options.end;}}else if(document.body.createTextRange){selection=rangeForElementIE(this);length=this.value.length;newLines=this.value.match(/\n/g);if(newLines){length=length-newLines.length;}selection.moveStart('character',options.start);selection.moveEnd('character',-length+options.end);try{selection.select();}catch(e){}}});},scrollToCaretPosition:function(options){function getLineLength(e){return Math.floor(e.scrollWidth/($.client.profile().platform==='linux'?7:8));}function getCaretScrollPosition(e){var i,j,nextSpace,text=e.value.replace(/\r/g,''),caret=$(e).textSelection('getCaretPosition'),lineLength=getLineLength(e),row=0,charInLine=0,lastSpaceInLine=0;for(i=0;i<caret;i++){charInLine++;if(text.charAt(i)===' '){lastSpaceInLine=charInLine;}else if(
text.charAt(i)==='\n'){lastSpaceInLine=0;charInLine=0;row++;}if(charInLine>lineLength){if(lastSpaceInLine>0){charInLine=charInLine-lastSpaceInLine;lastSpaceInLine=0;row++;}}}nextSpace=0;for(j=caret;j<caret+lineLength;j++){if(text.charAt(j)===' '||text.charAt(j)==='\n'||caret===text.length){nextSpace=j;break;}}if(nextSpace>lineLength&&caret<=lineLength){charInLine=caret-lastSpaceInLine;row++;}return($.client.profile().platform==='mac'?13:($.client.profile().platform==='linux'?15:16))*row;}return this.each(function(){var scroll,range,savedRange,pos,oldScrollTop;if($(this).is(':hidden')){}else if(this.selectionStart||this.selectionStart===0){scroll=getCaretScrollPosition(this);if(options.force||scroll<$(this).scrollTop()||scroll>$(this).scrollTop()+$(this).height()){$(this).scrollTop(scroll);}}else if(document.selection&&document.selection.createRange){range=document.body.createTextRange();savedRange=document.selection.createRange();pos=$(this).textSelection('getCaretPosition');
oldScrollTop=this.scrollTop;range.moveToElementText(this);range.collapse();range.move('character',pos+1);range.select();if(this.scrollTop!==oldScrollTop){this.scrollTop+=range.offsetTop;}else if(options.force){range.move('character',-1);range.select();}savedRange.select();}$(this).trigger('scrollToPosition');});}};switch(command){case'encapsulateSelection':options=$.extend({pre:'',peri:'',post:'',ownline:false,replace:false,selectPeri:true,splitlines:false,selectionStart:undefined,selectionEnd:undefined},options);break;case'getCaretPosition':options=$.extend({startAndEnd:false},options);break;case'setSelection':options=$.extend({start:undefined,end:undefined,startContainer:undefined,endContainer:undefined},options);if(options.end===undefined){options.end=options.start;}if(options.endContainer===undefined){options.endContainer=options.startContainer;}break;case'scrollToCaretPosition':options=$.extend({force:false},options);break;}context=$(this).data('wikiEditor-context');hasIframe=
context!==undefined&&context&&context.$iframe!==undefined;needSave=false;if(hasIframe&&context.savedSelection!==null){context.fn.restoreSelection();needSave=true;}retval=(hasIframe?context.fn:fn)[command].call(this,options);if(hasIframe&&needSave){context.fn.saveSelection();}return retval;};}(jQuery));;},{},{});mw.loader.implement("mediawiki.action.edit",function(){(function(mw,$){var isReady,toolbar,currentFocused,queue,$toolbar,slice;isReady=false;queue=[];$toolbar=false;slice=Array.prototype.slice;function insertButton(b,speedTip,tagOpen,tagClose,sampleText,imageId,selectText){if(typeof b!=='object'){b={imageFile:b,speedTip:speedTip,tagOpen:tagOpen,tagClose:tagClose,sampleText:sampleText,imageId:imageId,selectText:selectText};}var $image=$('<img>',{width:23,height:22,src:b.imageFile,alt:b.speedTip,title:b.speedTip,id:b.imageId||undefined,'class':'mw-toolbar-editbutton'}).click(function(){toolbar.insertTags(b.tagOpen,b.tagClose,b.sampleText,b.selectText);return false;});$toolbar.
append($image);return true;}toolbar={addButton:function(){if(isReady){insertButton.apply(toolbar,arguments);}else{queue.push(slice.call(arguments));}},insertTags:function(tagOpen,tagClose,sampleText){if(currentFocused&&currentFocused.length){currentFocused.textSelection('encapsulateSelection',{'pre':tagOpen,'peri':sampleText,'post':tagClose});}},init:function(){}};window.addButton=toolbar.addButton;window.insertTags=toolbar.insertTags;mw.toolbar=toolbar;$(document).ready(function(){var buttons,i,b,$iframe;currentFocused=$('#wpTextbox1');$toolbar=$('#toolbar');buttons=[].concat(queue,window.mwCustomEditButtons);queue.length=0;for(i=0;i<buttons.length;i++){b=buttons[i];if($.isArray(b)){insertButton.apply(toolbar,b);}else{insertButton(b);}}isReady=true;$('#wpSummary').byteLimit(255);(function scrollEditBox(){var editBox,scrollTop,$editForm;editBox=document.getElementById('wpTextbox1');scrollTop=document.getElementById('wpScrolltop');$editForm=$('#editform');if($editForm.length&&editBox&&
scrollTop){if(scrollTop.value){editBox.scrollTop=scrollTop.value;}$editForm.submit(function(){scrollTop.value=editBox.scrollTop;});}}());$('textarea, input:text').focus(function(){currentFocused=$(this);});$iframe=$('.wikiEditor-ui-text iframe');if($iframe.length>0){$($iframe.get(0).contentWindow.document).add($iframe.get(0).contentWindow.document.body).focus(function(){currentFocused=$iframe;});}});}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mediawiki.api",function(){(function(mw,$){var defaultOptions={parameters:{action:'query',format:'json'},ajax:{url:mw.util.wikiScript('api'),timeout:30*1000,dataType:'json'}};mw.Api=function(options){if(options===undefined){options={};}if(options.ajax&&options.ajax.url!==undefined){options.ajax.url=String(options.ajax.url);}options.parameters=$.extend({},defaultOptions.parameters,options.parameters);options.ajax=$.extend({},defaultOptions.ajax,options.ajax);this.defaults=options;};mw.Api.prototype={normalizeAjaxOptions:function(arg){var opts
=arg||{};if(typeof arg==='function'){opts={ok:arg};}return opts;},get:function(parameters,ajaxOptions){ajaxOptions=this.normalizeAjaxOptions(ajaxOptions);ajaxOptions.type='GET';return this.ajax(parameters,ajaxOptions);},post:function(parameters,ajaxOptions){ajaxOptions=this.normalizeAjaxOptions(ajaxOptions);ajaxOptions.type='POST';return this.ajax(parameters,ajaxOptions);},ajax:function(parameters,ajaxOptions){var token,apiDeferred=$.Deferred();parameters=$.extend({},this.defaults.parameters,parameters);ajaxOptions=$.extend({},this.defaults.ajax,ajaxOptions);if(parameters.token){token=parameters.token;delete parameters.token;}ajaxOptions.data=$.param(parameters).replace(/\./g,'%2E');if(token){ajaxOptions.data+='&token='+encodeURIComponent(token);}if(ajaxOptions.ok){apiDeferred.done(ajaxOptions.ok);delete ajaxOptions.ok;}if(ajaxOptions.err){apiDeferred.fail(ajaxOptions.err);delete ajaxOptions.err;}$.ajax(ajaxOptions).fail(function(xhr,textStatus,exception){apiDeferred.reject('http',{xhr
:xhr,textStatus:textStatus,exception:exception});}).done(function(result){if(result===undefined||result===null||result===''){apiDeferred.reject('ok-but-empty','OK response but empty result (check HTTP headers?)');}else if(result.error){var code=result.error.code===undefined?'unknown':result.error.code;apiDeferred.reject(code,result);}else{apiDeferred.resolve(result);}});return apiDeferred.promise().fail(function(code,details){mw.log('mw.Api error: ',code,details);});}};mw.Api.errors=['ok-but-empty','timeout','duplicate','duplicate-archive','noimageinfo','uploaddisabled','nomodule','mustbeposted','badaccess-groups','stashfailed','missingresult','missingparam','invalid-file-key','copyuploaddisabled','mustbeloggedin','empty-file','file-too-large','filetype-missing','filetype-banned','filetype-banned-type','filename-tooshort','illegal-filename','verification-error','hookaborted','unknown-error','internal-error','overwrite','badtoken','fetchfileerror','fileexists-shared-forbidden',
'invalidtitle','notloggedin'];mw.Api.warnings=['duplicate','exists'];}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mediawiki.hidpi",function(){jQuery(function($){$('body').hidpi();});;},{},{});mw.loader.implement("mediawiki.searchSuggest",function(){(function(mw,$){$(document).ready(function($){var map,resultRenderCache,searchboxesSelectors,$searchRegion=$('#simpleSearch, #searchInput').first(),$searchInput=$('#searchInput');map={browsers:{ltr:{opera:[['>=',9.6]],docomo:false,blackberry:false,ipod:false,iphone:false},rtl:{opera:[['>=',9.6]],docomo:false,blackberry:false,ipod:false,iphone:false}}};if(!$.client.test(map)){return;}function computeResultRenderCache(context){var $form,formAction,baseHref,linkParams;$form=context.config.$region.closest('form');formAction=$form.attr('action');baseHref=formAction+(formAction.match(/\?/)?'&':'?');linkParams={};$.each($form.serializeArray(),function(idx,obj){linkParams[obj.name]=obj.value;});return{textParam:context.data.$textbox.attr(
'name'),linkParams:linkParams,baseHref:baseHref};}function renderFunction(text,context){if(!resultRenderCache){resultRenderCache=computeResultRenderCache(context);}resultRenderCache.linkParams[resultRenderCache.textParam]=text;this.append($('<span>').css('whiteSpace','nowrap').text(text)).wrap($('<a>').attr('href',resultRenderCache.baseHref+$.param(resultRenderCache.linkParams)).addClass('mw-searchSuggest-link'));}function specialRenderFunction(query,context){var $el=this;if(!resultRenderCache){resultRenderCache=computeResultRenderCache(context);}resultRenderCache.linkParams[resultRenderCache.textParam]=query;if($el.children().length===0){$el.append($('<div>').addClass('special-label').text(mw.msg('searchsuggest-containing')),$('<div>').addClass('special-query').text(query).autoEllipsis()).show();}else{$el.find('.special-query').text(query).autoEllipsis();}if($el.parent().hasClass('mw-searchSuggest-link')){$el.parent().attr('href',resultRenderCache.baseHref+$.param(resultRenderCache.
linkParams)+'&fulltext=1');}else{$el.wrap($('<a>').attr('href',resultRenderCache.baseHref+$.param(resultRenderCache.linkParams)+'&fulltext=1').addClass('mw-searchSuggest-link'));}}searchboxesSelectors=['#searchInput','#searchInput2','#powerSearchText','#searchText','.mw-searchInput'];$(searchboxesSelectors.join(', ')).suggestions({fetch:function(query){var $el,jqXhr;if(query.length!==0){$el=$(this);jqXhr=$.ajax({url:mw.util.wikiScript('api'),data:{format:'json',action:'opensearch',search:query,namespace:0,suggest:''},dataType:'json',success:function(data){if($.isArray(data)&&data.length){$el.suggestions('suggestions',data[1]);}}});$el.data('request',jqXhr);}},cancel:function(){var jqXhr=$(this).data('request');if(jqXhr&&$.isFunction(jqXhr.abort)){jqXhr.abort();$(this).removeData('request');}},result:{render:renderFunction,select:function($input){$input.closest('form').submit();}},delay:120,highlightInput:true}).bind('paste cut drop',function(){$(this).trigger('keypress');});if(
$searchRegion.length===0){return;}$searchInput.attr('placeholder',mw.msg('searchsuggest-search')).placeholder();$searchInput.suggestions({result:{render:renderFunction,select:function($input){$input.closest('form').submit();}},special:{render:specialRenderFunction,select:function($input){$input.closest('form').append($('<input type="hidden" name="fulltext" value="1"/>'));$input.closest('form').submit();}},$region:$searchRegion});$searchInput.data('suggestions-context').data.$container.css('fontSize',$searchInput.css('fontSize'));});}(mediaWiki,jQuery));;},{"css":[
".suggestions a.mw-searchSuggest-link,.suggestions a.mw-searchSuggest-link:hover,.suggestions a.mw-searchSuggest-link:active,.suggestions a.mw-searchSuggest-link:focus{text-decoration:none;color:black}.suggestions-result-current a.mw-searchSuggest-link,.suggestions-result-current a.mw-searchSuggest-link:hover,.suggestions-result-current a.mw-searchSuggest-link:active,.suggestions-result-current a.mw-searchSuggest-link:focus{color:white}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:52b1797f70c7e4094dfa4191101944e8 */"]},{"searchsuggest-search":"Rechercher","searchsuggest-containing":"contenant..."});mw.loader.implement("mediawiki.user",function(){(function(mw,$){function User(options,tokens){var user,callbacks;user=this;callbacks={};function getUserInfo(info,callback){var api;if(callbacks[info]){callbacks[info].add(callback);return;}callbacks.rights=$.Callbacks('once memory');callbacks.groups=$.Callbacks('once memory');callbacks[info].add(callback);api=new mw.Api();api.get({
action:'query',meta:'userinfo',uiprop:'rights|groups'}).always(function(data){var rights,groups;if(data.query&&data.query.userinfo){rights=data.query.userinfo.rights;groups=data.query.userinfo.groups;}callbacks.rights.fire(rights||[]);callbacks.groups.fire(groups||[]);});}this.options=options||new mw.Map();this.tokens=tokens||new mw.Map();this.generateRandomSessionId=function(){var i,r,id='',seed='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';for(i=0;i<32;i++){r=Math.floor(Math.random()*seed.length);id+=seed.substring(r,r+1);}return id;};this.getName=function(){return mw.config.get('wgUserName');};this.name=function(){return this.getName();};this.getRegistration=function(){var registration=mw.config.get('wgUserRegistration');if(this.isAnon()){return false;}else if(registration===null){return null;}else{return new Date(registration);}};this.isAnon=function(){return user.getName()===null;};this.anonymous=function(){return user.isAnon();};this.sessionId=function(){var
sessionId=$.cookie('mediaWiki.user.sessionId');if(typeof sessionId==='undefined'||sessionId===null){sessionId=user.generateRandomSessionId();$.cookie('mediaWiki.user.sessionId',sessionId,{'expires':null,'path':'/'});}return sessionId;};this.id=function(){var id,name=user.getName();if(name){return name;}id=$.cookie('mediaWiki.user.id');if(typeof id==='undefined'||id===null){id=user.generateRandomSessionId();}$.cookie('mediaWiki.user.id',id,{expires:365,path:'/'});return id;};this.bucket=function(key,options){var cookie,parts,version,bucket,range,k,rand,total;options=$.extend({buckets:{},version:0,tracked:false,expires:30},options||{});cookie=$.cookie('mediaWiki.user.bucket:'+key);if(typeof cookie==='string'&&cookie.length>2&&cookie.indexOf(':')>0){parts=cookie.split(':');if(parts.length>1&&Number(parts[0])===options.version){version=Number(parts[0]);bucket=String(parts[1]);}}if(bucket===undefined){if(!$.isPlainObject(options.buckets)){throw'Invalid buckets error. Object expected for options.buckets.'
;}version=Number(options.version);range=0;for(k in options.buckets){range+=options.buckets[k];}rand=Math.random()*range;total=0;for(k in options.buckets){bucket=k;total+=options.buckets[k];if(total>=rand){break;}}if(options.tracked){mw.loader.using('jquery.clickTracking',function(){$.trackAction('mediaWiki.user.bucket:'+key+'@'+version+':'+bucket);});}$.cookie('mediaWiki.user.bucket:'+key,version+':'+bucket,{'path':'/','expires':Number(options.expires)});}return bucket;};this.getGroups=function(callback){getUserInfo('groups',callback);};this.getRights=function(callback){getUserInfo('rights',callback);};}mw.user=new User(mw.user.options,mw.user.tokens);}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mediawiki.page.ready",function(){(function(mw,$){$(function(){var $sortableTables;if(!('placeholder'in document.createElement('input'))){$('input[placeholder]').placeholder();}$('.mw-collapsible').makeCollapsible();$sortableTables=$('table.sortable');if($sortableTables.length){mw.loader.
using('jquery.tablesorter',function(){$sortableTables.tablesorter();});}$('input[type=checkbox]:not(.noshiftselect)').checkboxShiftClick();mw.util.updateTooltipAccessKeys();});}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mobile.desktop",function(){(function($){$('.stopMobileRedirectToggle').click(function(){var hostname=mw.config.get('wgMFStopRedirectCookieHost'),path=mw.config.get('wgCookiePath');$.cookie('stopMobileRedirect',null,{path:path,domain:hostname});});})(jQuery);;},{},{});mw.loader.implement("mw.MwEmbedSupport.style",function(){},{"css":[
"#container{position:relative;min-height:100%}#container,video{width:100%;height:100%}#playerContainer{overflow:hidden;position:relative;height:100%;background:#000}#videoHolder{position:relative;overflow:hidden}.fullscreen #playerContainer{position:absolute !important;width:100% !important;height:100%! important;z-index:9999;min-height:100%;top:0;left:0;margin:0}.mwEmbedPlayer{width:100%;height:100%;overflow:hidden;position:absolute;top:0;left:0}.modal_editor{ left:10px;top:10px;right:10px;bottom:10px;position:fixed;z-index:100}.displayHTML a:visited{color:white}.loadingSpinner{width:32px;height:32px;display:block;padding:0px;background-image:url(//bits.wikimedia.org/static-1.21wmf12/extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport/skins/common/images/loading_ani.gif?2013-03-18T17:58:20Z)}.mw-imported-resource{border:thin solid black}.kaltura-icon{background-image:url(//bits.wikimedia.org/static-1.21wmf12/extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport/skins/common/images/kaltura_logo_sm_transparent.png?2013-03-18T17:58:20Z) !important;background-repeat:no-repeat;display:block;height:12px;width:12px;margin-top:2px !important;margin-left:3px !important}.mw-fullscreen-overlay{background:rgb(0,0,0) none repeat scroll 0% 0%;position:fixed;top:0pt;left:0pt;width:100%;height:100%;-moz-background-clip:border;-moz-background-origin:padding;-moz-background-inline-policy:continuous} .play-btn-large{width:70px;height:53px;background :url(//bits.wikimedia.org/static-1.21wmf12/extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport/skins/common/images/player_big_play_button.png?2013-03-18T17:58:20Z);position :absolute;cursor :pointer;border :none !important;z-index :1}.play-btn-large:hover{background :url(//bits.wikimedia.org/static-1.21wmf12/extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport/skins/common/images/player_big_play_button_hover.png?2013-03-18T17:58:20Z)}.carouselContainer{position :absolute;width :100%;z-index :2}.carouselVideoTitle{position :absolute;top :0px;left :0px;width :100%;background :rgba(0,0,0,0.8);color :white;font-size :small;font-weight :bold;z-index :2}.carouselVideoTitleText{display :block;padding :10px 10px 10px 20px}.carouselTitleDuration{position :absolute;top :0px;right :0px;padding :2px;background-color :#5A5A5A;color :#D9D9D9;font-size :smaller;z-index :2}.carouselImgTitle{position :absolute;width :100%;text-align :center;color :white;font-size :small;background :rgba(0,0,0,0.4)}.carouselImgDuration{position :absolute;top :2px;left :2px;background :rgba( 0,0,0,0.7 );color :white;padding :1px 6px;font-size :small}.carouselPrevButton,.carouselNextButton{display :block;position :absolute;bottom:23px}.carouselPrevButton{left :5px}.carouselNextButton{right:6px}.alert-container{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-image:linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-o-linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-moz-linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-webkit-linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-ms-linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0.04,rgb(215,215,215)),color-stop(0.55,rgb(230,230,230)),color-stop(1,rgb(255,255,255)));margin:auto;position:absolute;top:0;left:0;right:0;bottom:0;max-width:80%;max-height:30%}.alert-title{background-color :#E6E6E6;padding :5px;border-bottom :1px solid #D1D1D1;font-weight :normal !important;font-size:14px !important;-webkit-border-top-left-radius:3px;-moz-border-radius-topleft:3px;border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-moz-border-radius-topright:3px;border-top-right-radius:3px }.alert-message{padding :5px;font-weight :normal !important;text-align:center;font-size:14px !important}.alert-buttons-container{text-align:center;padding-bottom:5px}.alert-button{background-color:#474747;color:white;-webkit-border-radius:.5em;-moz-border-radius:.5em;border-radius:.5em;padding:2px 10px;background-image:linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-o-linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-moz-linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-webkit-linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-ms-linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-webkit-gradient( linear,left bottom,left top,color-stop(0.04,rgb(25,25,25)),color-stop(0.55,rgb(47,47,47)),color-stop(0.68,rgb(71,71,71)) )}.alert-text{color :black !important}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:3afba7fc55d26132047982ee6dff3870 */"
]},{});mw.loader.implement("mw.PopUpMediaTransform",function(){(function(mw,$){$(document).ready(function(){$('.PopUpMediaTransform a').each(function(){$(this).click(function(event){var $videoContainer=$(unescape($(this).parent().attr('data-videopayload')));mw.addDialog({'width':'auto','height':'auto','title':$videoContainer.find('video,audio').attr('data-mwtitle'),'content':$videoContainer,'close':function(){var domEl=$(this).find('video,audio').get(0);if(domEl&&domEl.pause){domEl.pause();}return true;}}).css('overflow','hidden').find('video,audio').embedPlayer();return false;});});});})(mediaWiki,jQuery);;},{"css":[
".PopUpMediaTransform a .play-btn-large{position :absolute;top:50%;left :50%;width:70px;height:53px;margin-left:-35px;margin-top:-25px;background-image:url();background-image:url(//bits.wikimedia.org/static-1.21wmf12/extensions/TimedMediaHandler/resources/player_big_play_button.png?2013-03-18T18:00:00Z)!ie}.PopUpMediaTransform a .play-btn-large :hover{background-image:url();background-image:url(//bits.wikimedia.org/static-1.21wmf12/extensions/TimedMediaHandler/resources/player_big_play_button_hover.png?2013-03-18T18:00:00Z)!ie}.PopUpMediaTransform{position :relative;display:inline-block}li.gallerybox div.thumb div.PopUpMediaTransform{margin:0 auto}\n/* cache key: frwiki:resourceloader:filter:minify-css:7:8611a62e435218ad49ad8a5dc5d5176f */"
]},{});mw.loader.implement("schema.NavigationTiming",function(){mediaWiki.eventLog.declareSchema("NavigationTiming",{"schema":{"description":"Represents a set of client-side latency measurements provided by NavigationTiming API","properties":{"userAgent":{"type":"string","description":"Browser\'s user-agent string","required":true},"isAnon":{"type":"boolean","description":"True if the user was anonymous; false if logged in.","required":true},"mobileMode":{"type":"string","enum":["alpha","beta","stable"],"description":"If in mobile view, specifies the mobile mode. Absent otherwise."},"isHttps":{"type":"boolean","description":"True if request was secure (i.e., used HTTPS)."},"redirectCount":{"type":"integer","description":"Number of times the document request was redirected"},"originCountry":{"type":"string","description":"Country in which request originated, based on GeoIP look-up."},"dnsLookup":{"type":"integer","description":
"Time it took to resolve names (domainLookupEnd - domainLookupStart)"},"connecting":{"type":"integer","description":"Time it took to establish a connection to the server (connectEnd - connectStart)"},"sending":{"type":"integer","description":"Time from start of navigation to start of fetch (fetchStart - navigationStart)"},"waiting":{"type":"integer","description":"Time from immediately before browser started request to first byte of response (responseStart - requestStart)"},"redirecting":{"type":"integer","description":"Time spent following redirects"},"receiving":{"type":"integer","description":"Time from first byte of response to last (responseEnd - responseStart)"},"rendering":{"type":"integer","description":"Time from immediately after the last byte was sent to the page fully loading (loadEventEnd - responseEnd)"},"loading":{"type":"integer","description":"Time from start of navigation until just before firing of \'onload\' event (loadEventStart - navigationStart)"},"pageId":{
"type":"integer","description":"`page_id` of requested page. Unset for special pages."},"revId":{"type":"integer","description":"Revision ID of requested page. Unset for special pages."},"action":{"type":"string","description":"Value of \'wgAction\': view\', \'submit\', \'history\', etc. Unset for special pages."}}},"revision":5336845});;},{},{});mw.loader.implement("skins.vector.js",function(){jQuery(function($){$('div.vectorMenu').each(function(){var $el=$(this);$el.find('h3:first a:first').click(function(e){$el.find('.menu:first').toggleClass('menuForceShow');e.preventDefault();}).focus(function(){$el.addClass('vectorMenuFocus');}).blur(function(){$el.removeClass('vectorMenuFocus');});});});;},{},{});
/* cache key: frwiki:resourceloader:filter:minify-js:7:5c6fa23bac120f148ba92e4a43c310cf */